package com.zjj.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UserController {

	@RequestMapping("/list")
	public String list() {
		System.out.println("list()");
		return "userList";
	}
	
	@RequestMapping("/add")
	public String add() {
		System.out.println("add()");
		return "userAdd";
	}
	
	@RequestMapping("/update")
	public String update() {
		System.out.println("update()");
		return "userUpdate";
	}
	
	@RequestMapping("/test")
	public String test() {
		System.out.println("test()");
		return "test";
	}
}
